Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Apr 10, 2025

Context

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Add copy-run.mts script to copy eval run results to Turso, with necessary configuration updates.

  • Script Addition:
    • Adds copy-run.mts script to copy eval run results to Turso.
    • Handles copying of run and task metrics, with error handling for missing data and insertion failures.
  • Configuration:
    • Adds db:copy-run script command in package.json.
    • Updates turbo.json to include TURSO_CONNECTION_URL and TURSO_AUTH_TOKEN in globalEnv.

This description was created by Ellipsis for 92067df. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 10, 2025

⚠️ No Changeset found

Latest commit: 92067df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 10, 2025
@cte cte merged commit 4e71626 into main Apr 10, 2025
15 checks passed
@cte cte deleted the cte/copy-run-script branch April 10, 2025 04:18
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 10, 2025
@dosubot dosubot bot added the enhancement New feature or request label Apr 10, 2025
const copyRun = async (runId: number) => {
const destDb = drizzle({
schema,
connection: { url: process.env.TURSO_CONNECTION_URL!, authToken: process.env.TURSO_AUTH_TOKEN! },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider checking that TURSO_CONNECTION_URL and TURSO_AUTH_TOKEN are defined instead of using non-null assertions. This improves error clarity if the env variables are missing.


console.log(`Copying ${tasks.length} tasks`)

for (const task of tasks) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The loop inserting each task and its taskMetrics might benefit from a transaction to ensure atomicity and data consistency. Consider wrapping these DB operations in a transaction.

ouob-tw added a commit to ouob-tw/BigFont-Roo-Code that referenced this pull request May 6, 2025
fix: update ChatRowContent(user msg in chat windows) background and font size for better styling

Add o1-pro to api.ts (RooCodeInc#2433)

Add the o1-pro model to the openai section. Sourced model info from: https://platform.openai.com/docs/models/o1-pro

Update contributors list (RooCodeInc#2411)

docs: update contributors list [skip ci]

Co-authored-by: mrubens <[email protected]>

Add custom instructions for de (RooCodeInc#2383)

v3.11.11 (RooCodeInc#2435)

API fixes (RooCodeInc#2438)

Changeset version bump (RooCodeInc#2436)

* changeset version bump

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <[email protected]>

More sane evals default concurrency + staggered startup (RooCodeInc#2441)

Fix gh fork command (RooCodeInc#2442)

Add a script to copy eval run results to Turso (RooCodeInc#2452)

Fall back on aggressive line number stripping in diffs (RooCodeInc#2453)

* Add option for aggressive line number stripping

* Fall back on aggressive line number stripping in diffs

Make Grok3 streaming work with OpenAI Compatible (RooCodeInc#2449)

Update contributors list (RooCodeInc#2434)

docs: update contributors list [skip ci]

Co-authored-by: mrubens <[email protected]>

v3.11.12 (RooCodeInc#2454)

Changeset version bump (RooCodeInc#2455)

* changeset version bump

* Updating CHANGELOG.md format

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: R00-B0T <[email protected]>
Co-authored-by: Matt Rubens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants